package com.lovebridge.service.impl;

import com.jiehoo.ooqi.QueryInfo;
import com.jiehoo.ooqi.SearchResult;
import com.lovebridge.SystemManager;
import com.lovebridge.model.User;
import com.lovebridge.service.IUserService;
import com.lovebridge.service.impl.BaseService;

public class UserService extends BaseService implements IUserService {
    public SearchResult query(String name) throws Exception {
        return query(User.class);
    }

    public SearchResult getUsers(QueryInfo queryInfo) {
        return query(User.class,queryInfo);
    }
}
